<?php


namespace Xiaoguai\DesignPattern\DP013;


interface Component
{
    public function add(Component $component): void;
    public function remove(Component $component): void;
    public function getChild(int $depth): Component;

    public function operation();

}